<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../resources/css/jquery.toastmessage.css" rel="stylesheet"/>
</head>
<body>
  <script src="jquery-1.5.min.js"></script>
 
    <script src="jquery.toastmessage.js"></script>
    <script type="text/javascript">
     $(function(){
    //$().toastmessage('showNoticeToast', 'some message here');

    $().toastmessage('showToast',{
    text     : 'Hello World',
    sticky   : true,
    position : 'middle-center',
    type     : 'success',
    close    : function () {console.log("toast is closed ...");}
});

     })
    </script>
</body>
</html>